<?php
class Del_View_Helper_MailStyle 
    extends Zend_View_Helper_Abstract
{
	public function mailStyle( $tag )
	{
		$style = '';
		
        switch ( $tag ){
            case 'h1':
                $style = "color: #C1272D; font-family: arial; font-size: 22px; font-weight: bold; line-height: 42px;";
                break;
                
            case 'h2':
                $style = "color: #363636; font-family: arial; font-size: 18px; font-weight: bold; line-height: 36px;";
                break;
                
            case 'p':
                $style = "color: #6D6A71; font-size: 12px; line-height: 18px; margin-bottom: 1em; font-family: lucida sans;";
                break;
                
            case 'li':
                $style = "color: #363636; font-size: 12px; line-height: 16px; padding: 3px 0;";
                break;
        
        }	
	
		return ' style="' . $style . '"';			
	}
}